<!DOCTYPE HTML>
<head>
<title>www.ayushenterprises.com</title>
<meta charset="utf-8">
<meta content="www.ayushenterprises.info" name="keywords">
<meta content="www.ayushenterprises.info More info will come gradually , www.ayushenterprises.info ,www.ayushenterprises.info" property="description">
<!-- Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet' type='text/css'>
<!-- CSS Files -->
<link rel="stylesheet" type="text/css" media="screen" href="style.css">
<link rel="stylesheet" type="text/css" media="screen" href="menu/css/simple_menu.css">
<link rel="stylesheet" href="css/nivo-slider.css" type="text/css" media="screen">
<link rel="stylesheet" href="contact_form/css/style.css" type="text/css" media="screen">

<script type="text/javascript">

function sendEmailFromPhp(){

document.contactForm.submit();

}

</script>

</head>
<body>
<div class="header">
  <div id="site_title"><a href="index.html"><img src="img/logo.png" alt=""></a></div>
  <!-- Main Menu -->
  <ol id="menu">
   <li class="active_menu_item"><a href="index.html">Home</a>
      <!-- sub menu -->
     <!-- <ol>
        <li><a href="nivo.html">Nivo Slider</a></li>
        <li><a href="ei-slider.html">EI Slider</a></li>
        <li><a href="fullscreen-gallery.html">Fullscreen Slider</a></li>
        <li><a href="image-frontpage.html">Static Image</a></li>
      </ol>
    </li>-->
    <!-- END sub menu -->
    <!--<li><a href="#">Pages</a>
      <!-- sub menu -->
<!--      <ol>
        <li><a href="magazine.html">Magazine</a></li>
        <li><a href="blog.html">Blog</a></li>
        <li><a href="full-width.html">Full Width Page</a></li>
        <li><a href="columns.html">Columns</a></li>
      </ol>
    </li> -->
    <!-- END sub menu -->
<!--    <li><a href="elements.html">Elements</a></li> -->
    <li><a href="#">Products</a>
      <!-- sub menu -->
      <ol>
        <li><a href="portfolio.html">Filterable</a></li>
<!--        <li><a href="gallery-simple.html">Simple</a></li>
        <li><a href="gallery-fader.html">Fade Scroll</a></li>
        <li><a href="video.html">Video</a></li>
        <li class="last"><a href="photogrid.html">PhotoGrid</a></li>
 -->      </ol>
    </li>
    <!-- END sub menu -->
    <li><a href="contact.php">Contact</a></li>
  </ol>
</div>
<!-- END header -->
<div id="container">
  <h1>Full Width Page</h1>
  <div class="one-half">
    <div class="heading_bg">
      <h2>Contact</h2>
    </div>
    <p><strong>Professional Studios</strong><br>
      NORWAY<br>
      <br>
      Tel: (+47) 99 88 77 66<br>
      mail: mail@studios.com </p>
    <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.in/maps?f=d&amp;source=s_d&amp;saddr=19.082175,72.849982&amp;daddr=Vakola+Bridge,+Jawaharlal+Nehru+Rd,+Vakola,+Santacruz+East,+Mumbai,+Maharashtra+400055+(Vakola+Bridge)&amp;hl=en&amp;geocode=%3BCefeLIolIbnDFRokIwEdbJhXBCnRN55PAMnnOzEMNAJvCphwew&amp;sll=19.081318,72.850948&amp;sspn=0.004411,0.004823&amp;mra=mift&amp;mrsp=0&amp;sz=18&amp;ie=UTF8&amp;t=m&amp;ll=19.081318,72.850948&amp;spn=0.004411,0.004823&amp;output=embed"></iframe><br /><small><a href="https://maps.google.co.in/maps?f=d&amp;source=embed&amp;saddr=19.082175,72.849982&amp;daddr=Vakola+Bridge,+Jawaharlal+Nehru+Rd,+Vakola,+Santacruz+East,+Mumbai,+Maharashtra+400055+(Vakola+Bridge)&amp;hl=en&amp;geocode=%3BCefeLIolIbnDFRokIwEdbJhXBCnRN55PAMnnOzEMNAJvCphwew&amp;sll=19.081318,72.850948&amp;sspn=0.004411,0.004823&amp;mra=mift&amp;mrsp=0&amp;sz=18&amp;ie=UTF8&amp;t=m&amp;ll=19.081318,72.850948&amp;spn=0.004411,0.004823" style="color:#0000FF;text-align:left">View Larger Map</a></small> </div>
   <?php
   function died($error) {

		// your error code can go here

		//echo "We are very sorry, but there were error(s) found with the form you submitted. ";

		echo "Due to below errors form was unable to send<br /><br />";

        		echo $error."<br /><br />";

		//echo "Please go back and fix these errors.<br /><br />";

		//die();

	}


   ?> 
    
<?php
if (isset($_REQUEST['email']))
{

$email_from = $_POST['email']; // required
$message = $_POST['message']; // required
//echo  " $email_from Email Value";
$error_message = "";

$email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';

  if(!preg_match($email_exp,$email_from)) {

  	$error_message .= 'The Email Address you entered does not appear to be valid.<br />';

  }
  $string_exp = "/^[A-Za-z .'-]+$/";

  if(!preg_match($string_exp,$message)) {

  	$error_message .= 'The message you entered does not appear to be valid.<br />';

  }



if(strlen($error_message) > 0) {

  	died($error_message);

  }

if(strlen($error_message) <= 0) {
$to = "devadiga.ashwin45@gmail.com";
$subject = "Some one Contacted For Ayush Enterprise";
//$message = "Hello! This is a simple email message.";
//$from = "adevadiga02@gmail.com";
$headers = "From:" . $email_from;
mail($to,$subject,$message,$headers);
}
//echo "Mail Sent.";
}
else{
//echo "In else no Mail Sent.";
}

?> 
  <div class="one-half last">
    <div class="heading_bg">
      <h2>Send Email</h2>
    </div>
    <form name="contactForm" action="contact.php" class="TTWForm" method="post">
      <div id="field1-container" class="field f_50">
        <label for="field1">Name</label>
        <input name="name" id="field1" type="text">
      </div>
      <div id="field2-container" class="field f_50">
        <label for="field2">Telephone</label>
        <input name="tel" id="field2" type="text">
      </div>
      <div id="field5-container" class="field f_50">
        <label for="field5">Email</label>
        <input name="email" id="field5" type="email">
      </div>
      <div id="field4-container" class="field f_100">
        <label for="field4">Message</label>
        <textarea rows="5" cols="20" name="message" id="field4"></textarea>
      </div>
      <div id="form-submit" class="field f_100 clearfix submit">
        <input value="Submit" type="button" onclick="sendEmailFromPhp()" >
      </div>
    </form>
    <!--END form ID contact_form -->
  </div>
  <div style="clear:both; height: 40px"></div>
</div>
<!-- close container -->
<div id="footer">
  <!-- First Column -->
  <div class="one-fourth">
    <h3>Useful Links</h3>
    <ul class="footer_links">
      <li><a href="#">Lorem Ipsum</a></li>
      <li><a href="#">Ellem Ciet</a></li>
      <li><a href="#">Currivitas</a></li>
      <li><a href="#">Salim Aritu</a></li>
    </ul>
  </div>
  <!-- Second Column -->
  <div class="one-fourth">
    <h3>Terms</h3>
    <ul class="footer_links">
      <li><a href="#">Lorem Ipsum</a></li>
      <li><a href="#">Ellem Ciet</a></li>
      <li><a href="#">Currivitas</a></li>
      <li><a href="#">Salim Aritu</a></li>
    </ul>
  </div>
  <!-- Third Column -->
  <div class="one-fourth">
    <h3>Information</h3>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent sit amet enim id dui tincidunt vestibulum rhoncus a felis.
    <div id="social_icons"> Theme by <a href="http://www.csstemplateheaven.com">CssTemplateHeaven</a><br>
      Photos © <a href="http://dieterschneider.net">Dieter Schneider</a> </div>
  </div>
  <!-- Fourth Column -->
  <div class="one-fourth last">
    <h3>Socialize</h3>
    <img src="img/icon_fb.png" alt=""><img src="img/icon_twitter.png" alt=""><img src="img/icon_in.png" alt=""> </div>
  <div style="clear:both"></div>
</div>
<!-- END footer -->
</body>
</html>